|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IReporter
An interface to report generic events to.
| Field Summary | |
|---|---|
static int |
SEVERITY_DEBUG
The debug severity constant. |
static int |
SEVERITY_ERROR
The error severity constant. |
static int |
SEVERITY_INFO
The informational severity constant. |
static int |
SEVERITY_WARN
The warning severity constant. |
| Method Summary | |
|---|---|
boolean |
isSeverityEnabled(int severity)
Returns true if the specified severity level is enabled. |
void |
report(int severity,
java.lang.String message)
Creates and publishes a reporting entry with the specified attributes. |
void |
report(int severity,
java.lang.String[] categories,
java.lang.String message)
Creates and publishes a reporting entry with the specified attributes. |
void |
report(int severity,
java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
Creates and publishes a reporting entry with the specified attributes. |
void |
report(int severity,
java.lang.String message,
java.util.Dictionary properties)
Creates and publishes a reporting entry with the specified attributes. |
| Field Detail |
|---|
static final int SEVERITY_ERROR
static final int SEVERITY_WARN
static final int SEVERITY_INFO
static final int SEVERITY_DEBUG
| Method Detail |
|---|
boolean isSeverityEnabled(int severity)
severity - The severity to check.
void report(int severity,
java.lang.String message)
severity - The severity of the report.message - The message associated with the report or null
to not include a message.
void report(int severity,
java.lang.String message,
java.util.Dictionary properties)
severity - The severity of the report.message - The message associated with the report or null
to not include a message.properties - The properties of the report or null if no
properties are specified.
void report(int severity,
java.lang.String[] categories,
java.lang.String message)
severity - The severity of the report.categories - The categories the report pertains to or
null if no catagories are related.message - The message associated with the report or null
to not include a message.
void report(int severity,
java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
severity - The severity of the report.categories - The categories the report pertains to or
null if no catagories are related.message - The message associated with the report or null
to not include a message.properties - The properties of the report or null if no
properties are specified.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||